import React from 'react';
import { connect } from 'umi';
import styles from './Copyright.less';

const Copyright = (props) => {
  const { common } = props;
  const { pageInfo = {} } = common;
  // return <div className={styles.root}>Copyright@2021 上海城投水务集团</div>;
  return <div className={styles.root}>{pageInfo.copyright}</div>;
};

export default connect((state) => state)(Copyright);
